<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <title></title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <link href="/static/css/demostyle.css" rel="stylesheet" type="text/css" media="all"/>
    <link href="/static/css/jquery-calendar.css" rel="stylesheet" type="text/css" media="all"/>
    <link href="/static/css/styles.css" rel="stylesheet" type="text/css"/>

    <script src="/static/scripts/jquery-1.4.1.min.js"></script>
    <script src="/static/scripts/jquery-calendar.js" type="text/javascript"></script>
    <script src="/static/scripts/dynamic_table.js" type="text/javascript"></script>
    <script type="text/javascript" src="/static/scripts/scripts.js"></script>
</head>
<body>
<table border="1" class="" id="t">
    <thead>
    <tr>
        <th><input disabled='true' style="border: none" value="Дата"></th>
        <th><input disabled='true' style="border: none" value="Статус"></th>
        <th><input disabled='true' style="border: none" value="Действия"></th>
    </tr>
    </thead>
    <tbody id="fbody">
    {% for date in csvDate %}
        <form action="/history/view/{{ shopmaker }}/" method="POST">
            <tr>
                <td>
                    {{ date.date }}
                    <input style="border: none; display: none;" value="{{ date.date }}" name="filename">
                </td>
                <td>
                    {{ date.status }}
                </td>
                <td>
                    <select name="action">
                        <option>изменить</option>
                        <option selected>просмотреть</option>
                        <option>удалить</option>
                        {% if admin %}
                            <option>подтвердить</option>
                            <option>отменить</option>
                        {% endif %}
                    </select>
                    <input type="submit" value="Отправить">
                </td>
            </tr>
        </form>
    {% endfor %}
    </tbody>
</table>
<input value="{{ shopmaker }}" class="shopmaker" style="display: none">
<input value="{{ currency }}" id="currency" class="currency" style="display: none">
</body>
</html>